﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace RTS_RPG
{
    public class Weapon : Equipment
    {
        public Texture2D image;
        public string name;
        public string description;
        public short price;
        public short amount;

        public short hp_value;
        public short mp_value;
        public short pow_value;
        public short def_value;
        public short spd_value;
        public short int_value;

        public Weapon(Texture2D _image, string _name, string _description, short _price, short _amount,
                        short hp_effect, short mp_effect, short pow_effect,
                        short def_effect, short spd_effect, short int_effect)
        {
            image = _image;
            name = _name;
            description = _description;
            price = _price;
            amount = _amount;
                                                // Probably wanna use a loader for all this stuff (except name)
            hp_value = hp_effect;
            mp_value = mp_effect;
            pow_value = pow_effect;
            def_value = def_effect;
            spd_value = spd_effect;
            int_value = int_effect;
        }

        public void draw(SpriteBatch spBatch, Vector2 location)
        {
            spBatch.Draw(image, location, Color.White);
        }
    }
}
